<?php 
defined( '_JEXEC' ) or die('Restricted Access');  // Restrict access to J! only
// Change the generator meta tag
$this->setGenerator('NSC');
?>
<!doctype html>
<html lang="<?php echo $this->language; ?>" class="no-js">
<head>
	<jdoc:include type="head" />
  	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
	<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0;">
	<link rel="shortcut icon" href="templates/<?php echo $this->template; ?>/favicon.ico">
	<link rel="apple-touch-icon" href="templates/<?php echo $this->template; ?>/apple-touch-icon.png">
	<link rel="stylesheet" href="templates/<?php echo $this->template; ?>/css/style.css?v=1">
	<link rel="stylesheet" media="handheld" href="templates/<?php echo $this->template; ?>/css/handheld.css?v=1">
	<script src="templates/<?php echo $this->template; ?>/js/modernizr-1.5.min.js"></script>
</head>
<!--[if lt IE 7 ]> <body class="ie6"> <![endif]-->
<!--[if IE 7 ]>    <body class="ie7"> <![endif]-->
<!--[if IE 8 ]>    <body class="ie8"> <![endif]-->
<!--[if IE 9 ]>    <body class="ie9"> <![endif]-->
<!--[if (gt IE 9)|!(IE)]><!--> <body> <!--<![endif]-->

<!-- CONTAINER start -->

<div id="container">
		<!-- not sure about this block yet, wndering how to handle it best - this is for the header img -->
		<div class="masthead">
			<jdoc:include type="modules" name="header" style="html5sect" /> 
		</div>
		
		<!-- module class suffix: logo -->
		<jdoc:include type="modules" name="logo" style="html5sect" />
		
		<!-- module class suffix: horizontal: nav vertical: v-nav -->
		<jdoc:include type="modules" name="nav" style="html5nav" />
		
		<!-- MAIN SECTION start -->
		<!-- module class suffix: contentTop -->
		<?php if($this->countModules('top')): ?>
			<jdoc:include type="modules" name="top" style="html5sect" />
		<?php endif; ?>
		<!-- Change content style to style="html5art" if it is a blog, news or similar site that provides articles, etc -->
		<jdoc:include type="component" style="html5sect" />
		<!-- module class suffix: sidebar_1, sidebar_2 - Style each mod block separately or wrap with div -->
		<jdoc:include type="modules" name="sidebar_1" style="html5sect" />
		<jdoc:include type="modules" name="sidebar_2" style="html5sect" />
		<!-- module class suffix: contentBtm -->
		<?php if($this->countModules('bottom')): ?>
			<jdoc:include type="modules" name="bottom" style="html5sect" />
		<?php endif; ?>
		<!-- MAIN SECTION end -->
		
		<!-- module class suffix: sidebar_3, sidebar_4 - Style each mod block separately or wrap with div -->
		<jdoc:include type="modules" name="sidebar_3" style="html5sect" />
		<jdoc:include type="modules" name="sidebar_4" style="html5sect" />
		
		<footer>
			<!-- module class suffix: footer, nav (for Footer Menu) ??? (copyright)-->
			<jdoc:include type="modules" name="footer" style="html5nav" />
			<sm><?php echo JText::_('&copy;2005-'); ?><?php echo date('Y'); ?> <jdoc:include type="modules" name="copyright" style="html5nav" /></sm>
		</footer>
</div>
<!-- CONTAINER end -->

<!-- Grab Google CDN's jQuery. fall back to local if necessary -->
	<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
	<script>!window.jQuery && document.write('<script src="templates/<?php echo $this->template; ?>/js/jquery-1.4.2.min.js"><\/script>')</script>
	
	<script src="templates/<?php echo $this->template; ?>/js/plugins.js?v=1"></script>
	<script src="templates/<?php echo $this->template; ?>/js/script.js?v=1"></script>

<!-- Google Analytics from Boilerplate start -->
<!-- asynchronous google analytics change the UA-XXXXX-X to be your site's ID -->
	<script>
	var _gaq = [['_setAccount', 'UA-XXXXX-X'], ['_trackPageview']];
	(function(d, t) {
	var g = d.createElement(t),
	s = d.getElementsByTagName(t)[0];
	g.async = true;
	g.src = '//www.google-analytics.com/ga.js';
	s.parentNode.insertBefore(g, s);
	})(document, 'script');
	</script>
<!-- Google Analytics end -->

  <!--[if lt IE 7 ]>
    <script src="templates/<?php echo $this->template; ?>/js/dd_belatedpng.js?v=1"></script>
  <![endif]-->
</body>
</html>